package com.ruoyi.system.dao;

import java.util.List;
import com.ruoyi.system.domain.SysPostMenu;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 岗位与菜单关系信息Mapper接口
 * 
 * @author youde
 * @date 2022-11-24
 */
 @Repository
public interface SysPostMenuDAO extends JpaSpecificationExecutor<SysPostMenu>, JpaRepository<SysPostMenu, String>{

 /**
  * 根据岗位id删除分配的菜单信息
  * @param postId
  * @return
  */
 public int deleteByPostId(String postId);

}
